package org.luckyjourney.service.booking;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.luckyjourney.entity.booking.dto.OrdersCancelDTO;
import org.luckyjourney.entity.booking.dto.OrdersDTO;
import org.luckyjourney.entity.booking.dto.OrdersPageQueryDTO;
import org.luckyjourney.entity.booking.dto.OrdersPaymentDTO;
import org.luckyjourney.entity.booking.vo.OrderPaymentVO;
import org.luckyjourney.entity.booking.vo.OrderVO;
import org.luckyjourney.util.PageResult;

public interface OrdersService {
    void CancelOrder(OrdersCancelDTO ordersCancelDTO);

    OrderVO DetailsOrder(OrdersCancelDTO ordersCancelDTO);

    void DelectOrder(OrdersCancelDTO ordersCancelDTO);

    Page<OrderVO> selectPage(OrdersDTO ordersDTO);
    /**
     * 支付成功，修改订单状态
     *
     * @param outTradeNo
     */
    void paySuccess(String outTradeNo);

    void refundSuccess(String outTradeNo);
}
